body {
    color: #000;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: none;
    /* -moz-user-select: none; */
    max-width: 540px;
    margin: 0 auto;
    background: #f4f4f4;
    font: normal 12px/1.5 PingFangSC-regular,Tahoma,Lucida Grande,Verdana,Microsoft Yahei,STXihei,hei;
   
}
a {
    text-decoration: none;
    color: #222;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


.search-index {
    display: flex;
    /*固定定位与父亲没有关系 以屏幕为准*/
    position: fixed;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /*固定的盒子应该有宽度*/
    width: 100%;
    min-width: 320px;
    max-width: 540px;
    height: 44px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 999;
}
.search {
    position: relative;
    flex: 1;
    height: 26px;
    line-height: 24px;
    border: 1px solid #ccc;
    /*background-color: white;*/
    margin: 7px 10px;
    padding-left: 25px;
    border-radius: 5px;
    font-size: 12px;
    color: #666;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.search::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    display: block;
    width: 15px;
    height: 15px;
    background: url("../images/sprite.png") no-repeat -59px -279px;
    background-size: 104px auto;
}
.user {
    width: 44px;
    height: 44px;
    /*background-color: red;*/
    text-align: center;
    font-size: 12px;
    color: #2eaaa0;
}
.user::before {
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    background: url("../images/sprite.png") no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 4px auto -2px;
}

.goBack {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 20px;
    width: 38px;
    height: 38px;
    background: url(../images/back.png) no-repeat;
    background-size: 38px 38px;
}

.focus {
    overflow: hidden;
    position: relative;
    
    padding-top: 44px;
}
.focus img {
    width: 100%;
}
.focus ul {
    /* 清除浮动 */
    overflow: hidden;
    width: 500%;
    margin-left: -100%;
}
.focus ul li {
    float: left;
    width: 20%;
}
.focus ol {
    position: absolute;
    bottom: 5px;
    right: 5px;
    margin: 0;
}
.focus ol li {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #fff;
    list-style: none;
    border-radius: 2.5px;
    margin: 2px;
    /* 加个过渡让小圆点变化时好看点 */
    transition: all .3s;
}
.focus ol li.current {
    width: 15px;
}


.local-nav {
    display: flex;
    height: 64px;
    background-color: white;
    margin: 3px 4px;
    border-radius: 8px;
}
.local-nav li {
    flex: 1;
}
.local-nav a {
    display: flex;
    flex-direction: column;
    /*侧轴居中对齐*/
    align-items: center;
    font-size: 12px;
}
.local-nav li [class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    background-color: #00a4ff;
    margin-top: 8px;
    background: url("../images/localnav_bg.png") no-repeat 0 0;
    background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon2 {
    background-position: 0 -32px;
}
.local-nav li .local-nav-icon-icon3 {
     background-position: 0 -64px;
 }
.local-nav li .local-nav-icon-icon4 {
    background-position: 0 -96px;
}
.local-nav li .local-nav-icon-icon5 {
    background-position: 0 -128px;
}


nav {
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}
.nav-common {
    display: flex;
    height: 88px;
}
.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left,#fa5a55,#fa994d);
}
.nav-common:nth-child(2) {
    margin: 3px 0;
    background: -webkit-linear-gradient(left,rgb(66, 144, 239),rgb(71, 179, 240));
}
.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left,rgb(39, 178, 166),rgb(103, 196, 91));
}
.nav-items {
    flex: 1;
}
.nav-common .nav-items:nth-child(2) {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}
.nav-items {
    display: flex;
    flex-direction: column;
}
.nav-items a {
    flex: 1;
    color: #fff;
    line-height: 44px;
    text-align: center;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0,0,0,.2);
}
.nav-items a:nth-child(1) {
    border-bottom: 1px solid #fff;
}
.nav-items:nth-child(1) a {
    border: 0;
    background: url("../images/hotel.png") no-repeat bottom center;
    background-size: 121px auto;
}


.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    background-color: white;
    margin: 0 4px;
    padding: 5px 0;
}
.subnav-entry li {
    /*里面的字盒子可以是百分比相对于父盒子*/
    flex: 20%;
}
.subnav-entry a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.subnav-entry-icon {
    width: 28px;
    height: 28px;
    background-color: #00a4ff;
    margin-top: 4px;
    background: url("../images/subnav-bg.png") no-repeat 0 0;
    background-size: 28px auto;
}
.subnav-entry-icon1 {
    background-position: 0 0;
}
.subnav-entry-icon2 {
    background-position: 0 -28px;
}
.subnav-entry-icon3 {
    background-position: 0 -62px;
}
.subnav-entry-icon4 {
    background-position: 0 -97px;
}
.subnav-entry-icon5 {
    background-position: 0 -130px;
}
.subnav-entry-icon6 {
    background-position: 4px -162px;
}
.subnav-entry-icon7 {
    background-position: 0 -196px;
}
.subnav-entry-icon8 {
    background-position: 0 -228px;
}
.subnav-entry-icon9 {
    background-position: 0 -257px;
}
.subnav-entry-icon10 {
    background-position: 4px -285px;
}


.sales-box {
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px;
    border-radius: 8px;
}
.sales-hd {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sales-hd h2 {
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}
.sales-hd h2::after {
    position: absolute;
    top: 8px;
    left: 20px;
    content: '';
    height: 15px;
    width: 79px;
    background: url("../images/hot.png") no-repeat 0 -20px;
    background-size: 79px auto;
}
.more {
    position: absolute;
    right: 5px;
    top: 5px;
    background: -webkit-linear-gradient(left,#ff506c,#ff6bc6);
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
    color: #fff;
}
.more::after {
    content: '';
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.row {
    display: flex;
}
.row a {
    flex: 1;
    border-bottom: 1px solid #eee;
}
.row a:nth-child(1) {
    border-right: 1px solid #eee;
}
.row a img {
    width: 100%;
}